package ${element.packagePath!}.${element.mapperPackageName!};

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import ${element.packagePath!}.${element.beanPackageName!}.${element.beanName!}Entity;


/**
* <p>
* ${element.notesTable!} Mapper 接口
* </p>
*
* @author ${element.author!}
* @since ${element.date!}
*/
public interface ${element.beanName!}Mapper extends BaseMapper<${element.beanName!}Entity> {


    /**
    * 分页查询${element.notesTable!}
    * @param page 分页对象
    * @param ${element.beanCaseName!}
    * @return Page
    */
    Page<${element.beanName!}Entity> ${element.beanCaseName!}QueryPage(Page page, @Param("queryBean")${element.beanName!}Entity ${element.beanCaseName!} );


    /**
    * 根据id查询${element.notesTable!}对象
    * @param id 主键
    * @return ${element.beanName!}Entity 实体对象
    */
    ${element.beanName!}Entity get${element.beanName!}ById(@Param("id") String id);

 }
